﻿using System;
using System.Collections.Generic;
using System.Text;
using DuckGame01.Fly;
using DuckGame01.Quack;

namespace DuckGame01.Duck
{
    class MallardDuck:DuckBase
    {
        public override string Display()
        {
            return "我是一只野鸭！";
        }
        public MallardDuck()
        {
            base.FlyBehavior = new FlyWithWing();
            base.QuackBehavior = new Quack1();
        }
    }
}
